package com.bwie.vo;

/**
 * @author 军哥
 * @version 1.0
 * @description: 用户角色枚举
 * @date 2024/11/13 14:00
 */


public enum RoleEnum {
    ROLE_USER(0,"普通用户"),
    ROLE_SHOPPER(1,"商家"),
    ROLE_ADMIN(2,"管理员");
    private Integer code;
    private String name;
    RoleEnum(Integer code, String desc) {
        this.code = code;
        this.name = desc;
    }
    public Integer getCode() {
        return code;
    }
    public String getName() {
        return name;
    }
}
